package com.umeox.watch.moto.apiclient.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class ChantsCounterDTO implements Parcelable {

    public List<FriendChantsCounterDTO> friendsTotal;


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeTypedList(this.friendsTotal);
    }

    public ChantsCounterDTO() {

    }

    protected ChantsCounterDTO(Parcel in) {
        this.friendsTotal = in.createTypedArrayList(FriendChantsCounterDTO.CREATOR);
    }

    public static final Creator<ChantsCounterDTO> CREATOR = new Creator<ChantsCounterDTO>() {
        public ChantsCounterDTO createFromParcel(Parcel source) {
            return new ChantsCounterDTO(source);
        }

        public ChantsCounterDTO[] newArray(int size) {
            return new ChantsCounterDTO[size];
        }
    };

    @Override
    public String toString() {
        return "ChantsCounterDTO{" +
                "friendsTotal=" + friendsTotal +
                '}';
    }

}
